package br.edu.ufcg.ga.random;

import org.jgap.impl.StockRandomGenerator;

public class SeedRandomGenerator extends StockRandomGenerator {

	private static final long serialVersionUID = 1L;

	private long seed;

	public SeedRandomGenerator() {
		this(System.currentTimeMillis());
	}

	public SeedRandomGenerator(long seed) {
		super();
		setSeed(seed);
	}

	public long getSeed() {
		return seed;
	}

	public void setSeed(long seed) {
		super.setSeed(seed);
		this.seed = seed;
	}

}
